#ifndef __SequenceWidget_h__
#define __SequenceWidget_h__

#include <QWidget>
#include "ui_Sequence.h"
#include "Sequence.h"

namespace vkbrd
{
	class SequenceWidget: public QWidget
	{
		Q_OBJECT

		Ui::SequenceWidget ui;

		QList<QCheckBox*> fingers;

	public:
		SequenceWidget(QWidget* _parent);

		/**
		* @return Current sequence  and action by reading current widgets values.
		*/
		Sequence getSequence();

		void setSequence(Sequence _seq);
	
	signals:
		
		/**
		* Assigned action or any checkBox changed its value.
		*/
		void sequenceChanged();
	};
}

#endif //__SequenceWidget_h__